//
//  ViewController.m
//  hhhhhhh
//
//  Created by 方伟 on 16/7/22.
//  Copyright © 2016年 倪新伟. All rights reserved.
//

#import "ViewController.h"
#import "TableViewController.h"

@interface ViewController ()

@end


@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}



- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    TableViewController *table = [[ TableViewController alloc] init];
    UINavigationController *tableNC = [[UINavigationController alloc]initWithRootViewController:table];
    [self presentViewController:tableNC animated:YES completion:nil];
}
@end
